extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]一式穿甲弹"
	att.pen = 30
	att.atk = 50
	info = "每次炮击赋予目标1层<破甲>\n[color=#DC143C]同时装备三件时可升级[/color]"
var p = 1
func _connect():
	._connect()
	masCha.connect("normalAtkChara",self,"normalAtkChara")

func normalAtkChara(cha):
	if cha.team != masCha.team:
		masCha.castBuff(cha, buff.b_poJia.new(p))	
	
func upgrade():
	name = "[color=#FFFF00][史诗]一式穿甲弹"
	att.pen = 40
	att.atk = 70
	p = 2
	info = "每次炮击赋予目标2层<破甲>"
